package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzfaManageCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzfaManageResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzfaManageUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzfaManageEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JzfaManageConvert {

    JzfaManageConvert INSTANCE = Mappers.getMapper(JzfaManageConvert.class);

    JzfaManageResultDTO convert(JzfaManageEntity s);

    JzfaManageEntity create(JzfaManageCreateDTO s, Long tenantId);

    JzfaManageEntity update(JzfaManageUpdateDTO s);
}
